package main

import (
	"fmt"
	"net/http"

	"github.com/gin-gonic/gin"
)

func sayhello(c *gin.Context) {
	fmt.Println("hello")
	c.JSON(http.StatusOK, gin.H{
		"message": "world",
	})
}
func m1(c *gin.Context) {
	fmt.Println("qwqee")
}
func main() {
	r := gin.Default()
	r.GET("/hello", m1, sayhello)
	r.Run(":9099")
}
